package integration;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import metier.UserBean;

public class UserDAOImpl extends UnicastRemoteObject implements UserDAORemote {
	
	protected UserDAO dao;

	public UserDAOImpl() throws RemoteException{
		this.dao = new UserDAO();
	}

	public void insert(UserBean bean) throws RemoteException {
		dao.insert(bean);
	}

}

